<?php
require("../../../public/header.php");

$application->bootstrap();

// Configure Doctrine Cli
// Normally these are arguments to the cli tasks but if they are set here the arguments will be auto-filled
$config = array(
    'data_fixtures_path'  =>  APPLICATION_PATH . '/modules/develop/data/fixtures',
    'models_path'         =>  APPLICATION_PATH . '/modules/develop/models',
    'migrations_path'     =>  APPLICATION_PATH . '/moduels/develop/data/migrations',
    'sql_path'            =>  APPLICATION_PATH . '/modules/develop/data/sql',
    'yaml_schema_path'    =>  APPLICATION_PATH . '/modules/develop/data/schema',
    "generate_models_options" => array(
        'pearStyle' => false,
        'generateBaseClasses' => true,
        'classPrefixFiles' => false,
        'baseClassPrefix' => 'Base',
        'classPrefix' => 'Develop_Model_',
        'baseClassesDirectory' => null,

        "phpDocPackage"       => "zfSfs",
        "phpDocSubpackage"    => "Doctrine",
       // "baseClassName"       => "Develop_Model_Doctrine_Record",
        "phpDocName"          => "hami",
        "phpDocEmail"         => "cik@boe.tcc.edu.tw",
    ),
);

$cli = new Doctrine_Cli($config);
$cli->run($_SERVER['argv']);
